Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(core-utils): add isTransitLeg function that uses transitLeg prop #778

Merged

Conversation

daniel-heppner-ibigroup
Copy link
Contributor

This adds a new function (to avoid a breaking change) that checks for transit legs using the OTP2 transitLeg property. We could add extra functionality to this in the future to check for transit legs.

To avoid breaking changes in the future, is there any chance that we would want to support other arguments or return types in the future?

Copy link
Collaborator

@miles-grant-ibigroup miles-grant-ibigroup left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Smashing

@daniel-heppner-ibigroup daniel-heppner-ibigroup merged commit 8e19f3f into opentripplanner:master Sep 23, 2024
2 checks passed
@daniel-heppner-ibigroup daniel-heppner-ibigroup deleted the add-is-transit-leg branch September 23, 2024 15:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants